﻿using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhaoXi.MSACommerce.Infrastructure.EnityFrameworkCore.interceptor;

namespace ZhaoXi.MSACommerce.Infrastructure.EnityFrameworkCore
{
    public static class DependencyInjection
    {
        public static IServiceCollection AddInfrastructureCommon(this IServiceCollection services)
        {
            services.AddScoped<AuditEntityInterceptor>();

            return services;
        }
    }
}
